package decorator_pattern;

/**
 * Decorator 抽象类 只是持有 component 但不具体实现component行为
 * @author lynn
 * @date 18-12-8 上午7:07
 */
public abstract class Decorator implements Component{

    protected Component component;

    public Decorator(Component component) {
        this.component = component;
    }
}
